<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>欢迎注册</title>
      <link rel="stylesheet" href="styles.css">
    </head>
    <body>
      <div class="form-div">
        <div class="reg-content">
        <h1>欢迎注册(注册信息的仅为管理员)</h1>
        <span>已有账号?</span><a href="login.html">登录</a>
        </div>
        <form id="reg-form" action="/registerServlet" method="get">
          <table>
            <tr>
              <td>用户名</td>
              <td class="inputs">
                <input name="username" type="text" id="username">
                <br>
                <span id="username_err" class="err_msg" ></span>
              </td>
            </tr>
            <tr>
              <td>密码</td>
              <td class ="inputs">
                <input name="password" type="password" id="password">
                <br>
                <span id="password_err" class="err_msg"></span>

              </td>
            </tr>

          </table>
          <div class="buttons">
            <input value="注 册" type="submit" id ="reg_btn">
          </div>
          <br class="clear">
        </form>
      </div>
    </body>
</html>